package com.pine.dcts.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

/**
 * @author xiaoyuan
 * @create 2020/12/11 14:38
 **/
@Setter
@Getter
@TableName("dcts_job_config_attr")
public class JobConfigAttr extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    private String value;

    private Integer jobId;


    public JobConfigAttr(String name, String value, Integer jobId) {
        this.name = name;
        this.value = value;
        this.jobId = jobId;
    }

    public JobConfigAttr() {

    }
}
